.category {
  height: 100%;
  &-head {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 45px;
    box-sizing: border-box;
    border-bottom: 1px solid #ededed;
    background-color: #fff;
    .search {
      width: 90%;
      height: 28px;
      line-height: 28px;
      text-align: center;
      background-color: #ededed;
    }
  }
  .main {
    height: calc(100% - 45px);
    overflow: scroll;
    background-color: #fff;
    display: flex;
    .left {
      width: 80px;
      border-right: 1px solid #fafafa;
      .nav-item {
        height: 45px;
        line-height: 45px;
        text-align: center;
        font-size: 14px;
        border-left: 3px solid transparent;
        &.act {
          border-left-color: #c75559;
          color: #c75559;
          font-size: 18px;
        }
      }
    }
    .right {
      flex: 1;
      padding: 0 15px;
      .banner {
        margin-top: 10px;
        img {
          width: 100%;
          height: 111px;
        }
      }
      .title {
        padding: 20px 0;
        text-align: center;
        &::after,
        &::before {
          content: "—";
          margin: 0 5px;
          color: #999;
        }
      }
      .grid {
        display: flex;
        flex-wrap: wrap;
        justify-content: first baseline;
        .item {
          width: 33.33%;
          text-align: center;
          img {
            width: 72px;
            height: 72px;
            vertical-align: middle;
          }
          p {
            margin-bottom: 10px;
          }
        }
      }
    }
  }
}
